@echo off

echo initialize start...

rem enter the root directory.
cd /d "%~dp0.."

echo installing dependencies...
cmd /c npm install --no-save || goto :error

echo initialize successful.
exit 0

:error
echo initialize failed.
exit 1
